package cn.edu.nju.software.cdiy.dao;

import java.util.List;

import cn.edu.nju.software.cdiy.bean.*;

public interface SupplierDao {

	public Supplier login(String signInName, String password);
	
	//Transtion
	public Supplier updateSupplier(Supplier supplier);
	//Transtion
	public Supplier updateRegistor(Supplier supplier);
	

	public List<Supplier> getAllSupplier();
	//Transtion
	public boolean deleteSupplierById(Long id);

	public List<Hardware> getSupplierBySupplierId(long id, String sql);
	
	

}
